package com.magicborrow.beans;

import java.util.List;

/**
 * Created by ghost on 16/5/13.
 */
public class CommentListBean {
    /**
     * code : 0
     * data : {"content":[{"append":"","applyId":201,"author":{"avatar":"/store/ava/26/0/0/0.jpg?t=1464763087000","avatar80":"/store/ava/26/0/0/80.jpg?t=1464763087000","birthday":"1990-01-01","borrowScale":15,"borrowScaleAVG":5,"borrowTimes":3,"city":"","gender":1,"id":26,"lat":0,"lendScale":12.6667,"lendScaleAVG":5,"lendTimes":3,"lon":0,"nickname":"雪花","signature":"的任何","status":0,"studentStatus":1},"avgStar":5,"content":"风格","created":"2016-07-02 23:50:59","id":55,"star1":5,"star2":5,"star3":5}],"first":true,"last":true,"number":0,"numberOfElements":1,"size":20,"sort":null,"totalElements":1,"totalPages":1}
     * message : 操作成功
     */

    private int code;
    /**
     * content : [{"append":"","applyId":201,"author":{"avatar":"/store/ava/26/0/0/0.jpg?t=1464763087000","avatar80":"/store/ava/26/0/0/80.jpg?t=1464763087000","birthday":"1990-01-01","borrowScale":15,"borrowScaleAVG":5,"borrowTimes":3,"city":"","gender":1,"id":26,"lat":0,"lendScale":12.6667,"lendScaleAVG":5,"lendTimes":3,"lon":0,"nickname":"雪花","signature":"的任何","status":0,"studentStatus":1},"avgStar":5,"content":"风格","created":"2016-07-02 23:50:59","id":55,"star1":5,"star2":5,"star3":5}]
     * first : true
     * last : true
     * number : 0
     * numberOfElements : 1
     * size : 20
     * sort : null
     * totalElements : 1
     * totalPages : 1
     */

    private DataEntity data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataEntity {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private Object sort;
        private int totalElements;
        private int totalPages;
        /**
         * append :
         * applyId : 201
         * author : {"avatar":"/store/ava/26/0/0/0.jpg?t=1464763087000","avatar80":"/store/ava/26/0/0/80.jpg?t=1464763087000","birthday":"1990-01-01","borrowScale":15,"borrowScaleAVG":5,"borrowTimes":3,"city":"","gender":1,"id":26,"lat":0,"lendScale":12.6667,"lendScaleAVG":5,"lendTimes":3,"lon":0,"nickname":"雪花","signature":"的任何","status":0,"studentStatus":1}
         * avgStar : 5
         * content : 风格
         * created : 2016-07-02 23:50:59
         * id : 55
         * star1 : 5
         * star2 : 5
         * star3 : 5
         */

        private List<CommentBean> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<CommentBean> getContent() {
            return content;
        }

        public void setContent(List<CommentBean> content) {
            this.content = content;
        }

        public static class CommentBean {
            private String append;
            private int applyId;
            /**
             * avatar : /store/ava/26/0/0/0.jpg?t=1464763087000
             * avatar80 : /store/ava/26/0/0/80.jpg?t=1464763087000
             * birthday : 1990-01-01
             * borrowScale : 15
             * borrowScaleAVG : 5
             * borrowTimes : 3
             * city :
             * gender : 1
             * id : 26
             * lat : 0
             * lendScale : 12.6667
             * lendScaleAVG : 5
             * lendTimes : 3
             * lon : 0
             * nickname : 雪花
             * signature : 的任何
             * status : 0
             * studentStatus : 1
             */

            private AuthorBean author;
            private int avgStar;
            private String content;
            private String created;
            private int id;
            private int star1;
            private int star2;
            private int star3;

            public String getAppend() {
                return append;
            }

            public void setAppend(String append) {
                this.append = append;
            }

            public int getApplyId() {
                return applyId;
            }

            public void setApplyId(int applyId) {
                this.applyId = applyId;
            }

            public AuthorBean getAuthor() {
                return author;
            }

            public void setAuthor(AuthorBean author) {
                this.author = author;
            }

            public int getAvgStar() {
                return avgStar;
            }

            public void setAvgStar(int avgStar) {
                this.avgStar = avgStar;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreated() {
                return created;
            }

            public void setCreated(String created) {
                this.created = created;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getStar1() {
                return star1;
            }

            public void setStar1(int star1) {
                this.star1 = star1;
            }

            public int getStar2() {
                return star2;
            }

            public void setStar2(int star2) {
                this.star2 = star2;
            }

            public int getStar3() {
                return star3;
            }

            public void setStar3(int star3) {
                this.star3 = star3;
            }

            public static class AuthorBean {
                private String avatar;
                private String avatar80;
                private String birthday;
                private int borrowScale;
                private int borrowScaleAVG;
                private int borrowTimes;
                private String city;
                private int gender;
                private int id;
                private double lat;
                private double lendScale;
                private int lendScaleAVG;
                private int lendTimes;
                private double lon;
                private String nickname;
                private String signature;
                private int status;
                private int studentStatus;

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public String getAvatar80() {
                    return avatar80;
                }

                public void setAvatar80(String avatar80) {
                    this.avatar80 = avatar80;
                }

                public String getBirthday() {
                    return birthday;
                }

                public void setBirthday(String birthday) {
                    this.birthday = birthday;
                }

                public int getBorrowScale() {
                    return borrowScale;
                }

                public void setBorrowScale(int borrowScale) {
                    this.borrowScale = borrowScale;
                }

                public int getBorrowScaleAVG() {
                    return borrowScaleAVG;
                }

                public void setBorrowScaleAVG(int borrowScaleAVG) {
                    this.borrowScaleAVG = borrowScaleAVG;
                }

                public int getBorrowTimes() {
                    return borrowTimes;
                }

                public void setBorrowTimes(int borrowTimes) {
                    this.borrowTimes = borrowTimes;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public int getGender() {
                    return gender;
                }

                public void setGender(int gender) {
                    this.gender = gender;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public double getLat() {
                    return lat;
                }

                public void setLat(double lat) {
                    this.lat = lat;
                }

                public double getLendScale() {
                    return lendScale;
                }

                public void setLendScale(double lendScale) {
                    this.lendScale = lendScale;
                }

                public int getLendScaleAVG() {
                    return lendScaleAVG;
                }

                public void setLendScaleAVG(int lendScaleAVG) {
                    this.lendScaleAVG = lendScaleAVG;
                }

                public int getLendTimes() {
                    return lendTimes;
                }

                public void setLendTimes(int lendTimes) {
                    this.lendTimes = lendTimes;
                }

                public double getLon() {
                    return lon;
                }

                public void setLon(double lon) {
                    this.lon = lon;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getSignature() {
                    return signature;
                }

                public void setSignature(String signature) {
                    this.signature = signature;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public int getStudentStatus() {
                    return studentStatus;
                }

                public void setStudentStatus(int studentStatus) {
                    this.studentStatus = studentStatus;
                }
            }
        }
    }












  /*  *//**
     * code : 0
     * data : {"content":[{"author":{"avatar":"1","avatar80":"1","borrowScale":1,"borrowTimes":1,"city":"1","gender":1,"id":1,"lat":1,"lendScale":1,"lendTimes":1,"lon":1,"nickname":"666","status":0,"studentId":"0","studentStatus":0},"avgStar":1,"content":"1","created":"2016-05-01 20:53","id":2},{"author":{"avatar":"1","avatar80":"1","borrowScale":1,"borrowTimes":1,"city":"1","gender":1,"id":1,"lat":1,"lendScale":1,"lendTimes":1,"lon":1,"nickname":"666","status":0,"studentId":"0","studentStatus":0},"avgStar":0,"content":"0","created":"2016-05-01 20:53","id":1}],"first":true,"last":true,"number":0,"numberOfElements":2,"size":20,"sort":null,"totalElements":2,"totalPages":1}
     * message : 操作成功
     *//*

    private int code;
    *//**
     * content : [{"author":{"avatar":"1","avatar80":"1","borrowScale":1,"borrowTimes":1,"city":"1","gender":1,"id":1,"lat":1,"lendScale":1,"lendTimes":1,"lon":1,"nickname":"666","status":0,"studentId":"0","studentStatus":0},"avgStar":1,"content":"1","created":"2016-05-01 20:53","id":2},{"author":{"avatar":"1","avatar80":"1","borrowScale":1,"borrowTimes":1,"city":"1","gender":1,"id":1,"lat":1,"lendScale":1,"lendTimes":1,"lon":1,"nickname":"666","status":0,"studentId":"0","studentStatus":0},"avgStar":0,"content":"0","created":"2016-05-01 20:53","id":1}]
     * first : true
     * last : true
     * number : 0
     * numberOfElements : 2
     * size : 20
     * sort : null
     * totalElements : 2
     * totalPages : 1
     *//*

    private DataEntity data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataEntity {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private Object sort;
        private int totalElements;
        private int totalPages;
        *//**
         * author : {"avatar":"1","avatar80":"1","borrowScale":1,"borrowTimes":1,"city":"1","gender":1,"id":1,"lat":1,"lendScale":1,"lendTimes":1,"lon":1,"nickname":"666","status":0,"studentId":"0","studentStatus":0}
         * avgStar : 1
         * content : 1
         * created : 2016-05-01 20:53
         * id : 2
         *//*

        private List<CommentBean> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<CommentBean> getContent() {
            return content;
        }

        public void setContent(List<CommentBean> content) {
            this.content = content;
        }

        public static class CommentBean {
            *//**
             * avatar : 1
             * avatar80 : 1
             * borrowScale : 1
             * borrowTimes : 1
             * city : 1
             * gender : 1
             * id : 1
             * lat : 1
             * lendScale : 1
             * lendTimes : 1
             * lon : 1
             * nickname : 666
             * status : 0
             * studentId : 0
             * studentStatus : 0
             *//*

            private AuthorEntity author;
            private int avgStar;
            private String content;
            private String created;
            private int id;

            public AuthorEntity getAuthor() {
                return author;
            }

            public void setAuthor(AuthorEntity author) {
                this.author = author;
            }

            public int getAvgStar() {
                return avgStar;
            }

            public void setAvgStar(int avgStar) {
                this.avgStar = avgStar;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreated() {
                return created;
            }

            public void setCreated(String created) {
                this.created = created;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public static class AuthorEntity {
                private String avatar;
                private String avatar80;
                private int borrowScale;
                private int borrowTimes;
                private String city;
                private int gender;
                private int id;
                private double lat;
                private int lendScale;
                private int lendTimes;
                private double lon;
                private String nickname;
                private int status;
                private String studentId;
                private int studentStatus;

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public String getAvatar80() {
                    return avatar80;
                }

                public void setAvatar80(String avatar80) {
                    this.avatar80 = avatar80;
                }

                public int getBorrowScale() {
                    return borrowScale;
                }

                public void setBorrowScale(int borrowScale) {
                    this.borrowScale = borrowScale;
                }

                public int getBorrowTimes() {
                    return borrowTimes;
                }

                public void setBorrowTimes(int borrowTimes) {
                    this.borrowTimes = borrowTimes;
                }

                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public int getGender() {
                    return gender;
                }

                public void setGender(int gender) {
                    this.gender = gender;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public double getLat() {
                    return lat;
                }

                public void setLat(double lat) {
                    this.lat = lat;
                }

                public int getLendScale() {
                    return lendScale;
                }

                public void setLendScale(int lendScale) {
                    this.lendScale = lendScale;
                }

                public int getLendTimes() {
                    return lendTimes;
                }

                public void setLendTimes(int lendTimes) {
                    this.lendTimes = lendTimes;
                }

                public double getLon() {
                    return lon;
                }

                public void setLon(double lon) {
                    this.lon = lon;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public int getStatus() {
                    return status;
                }

                public void setStatus(int status) {
                    this.status = status;
                }

                public String getStudentId() {
                    return studentId;
                }

                public void setStudentId(String studentId) {
                    this.studentId = studentId;
                }

                public int getStudentStatus() {
                    return studentStatus;
                }

                public void setStudentStatus(int studentStatus) {
                    this.studentStatus = studentStatus;
                }
            }
        }
    }*/
}
